<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/h5/views/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html lang="en">
<head>	
	<meta charset="UTF-8">
	<title>关于我们-众秀众筹</title>
	<meta name="Keywords" content="众筹，众筹网，众筹导航，众筹门户，股权众筹，众筹平台，众筹圈子人，众筹项目，众筹三方
影视众筹，店铺众筹，餐饮众筹，众筹报告，创业众筹，投后管理，项目融资，项目众筹，权力的游戏，冰与火之歌" />
	<meta name="Description" content="汇集各行业高手分析众筹项目，行业问答，众筹资讯" />
	<link rel="stylesheet" href="<%=path%>/h5/js/swiper/css/swiper.css">

	<link rel="stylesheet" type="text/css" href="<%=path%>/h5/css/weui.min.css"></head>
	<link rel="stylesheet" type="text/css" href="<%=path%>/h5/css/wapsite.css"></head>

	<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
	<script src="<%=path%>/h5/js/swiper/js/swiper.jquery.min.js"></script>
	<script type="text/javascript">
	    $(function(){
	    	loadNews(1);
	    	initSwiper();
		});
	    function loadNews(pageNo){
	    	var queryData = $("#news_query_form").serialize();

	    	if (queryData == null || queryData == "") {
	    		queryData = "pageNo=" + pageNo;
	    	} else {
	    		queryData = queryData + "&pageNo=" + pageNo;
	    	}
	    	
	    	$.ajax({
	    		url : path + "/uncheck/news/list",
	    		type : "get",
	    		dataType : "html",
	    		data : queryData,
	    		success : function(data) {
	    			$("#news_list").html(data);
	    		},
	    		error : function() {
	    			layer.msg("服务器网络繁忙", {
	    				icon : 2
	    			});
	    		}
	    	});
	    }
	    
	    function changeNewsType(newsType){
	    	$("#news_type").value(newsType);
	    }
	    
	    function initSwiper(){
	    	var swiper = new Swiper('.swiper-container', {
	            pagination: '.swiper-pagination',
	            paginationClickable: true,
	            spaceBetween: 30,
	            autoplayDisableOnInteraction : false,
	            autoplay: 2500
	        });

	        var imgwidth=750,imgheight=280;
	        $('.swiper-slide').css('height', $(window).width()*imgheight/imgwidth);

	        $(".sort_list .item").click(function(event) {
	        	 $(this).addClass('curr').siblings().removeClass('curr');
	        });
	    }
    </script>

<body>
	<div class="container" id="container">
		<div class="page js_show">
			<div class="page__bd" style="height: 100%;">

				<div class="weui-tab">
					<div class="weui-tab__panel">

						<div class="navbar">
							<div class="navbar-inner">
								<div class="left">
									<a href="#" onClick="javascript :history.back(-1);" class="link"> <i class="sym sym-goback"></i>
									</a>
								</div>
								<div class="center sliding">
									<span>资讯</span>
								</div>
								<div class="right"></div>
							</div>
						</div>
						<div  class="homelist">
							<div class="sort_list">
								<div class="item curr" onclick="javascript:changeNewType(1)">资讯</div>
								<div class="item" onclick="javascript:changeNewType(2)">点评</div>
								<div class="item" onclick="javascript:changeNewType(3)">百科</div>
							</div>
							<form id="news_choose_form" action="javascript:void(0)">
								<input type="hidden" name="newsType" id="news_type" value="1">
							</form>
							<div id="news_list" class="homelist__panel"></div>
						</div>
						<jsp:include page="/h5/views/commons/footer.jsp"></jsp:include>
					</div>
					<div class="weui-tabbar">
						<a href="index2.html" class="weui-tabbar__item">
							<span class="sym sym-jisu"></span>
							<p class="weui-tabbar__label">急速借款</p>
						</a>
						<a href="index3.html" class="weui-tabbar__item">
							<span class="sym sym-qianbao"></span>
							<p class="weui-tabbar__label">大额借款</p>
						</a>
						<a href="<%=path%>/h5/views/news/news_list.jsp" class="weui-tabbar__item weui-bar__item_on">
							<span class="sym sym-zixun"></span>
							<p class="weui-tabbar__label">资讯</p>
						</a>
						<a href="<%=path%>/h5/views/about/about.jsp" class="weui-tabbar__item">
							<span class="sym sym-cloud-we"></span>
							<p class="weui-tabbar__label">我们</p>
						</a>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>